#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2011 (ita)

"""
rpath processing example:
add all rpaths from local libraries

(warning: do not use in production code...)
"""

VERSION='0.0.1'
APPNAME='local_rpath'

top = '.'

def options(opt):
	opt.load('compiler_c')

def configure(conf):
	conf.load('compiler_c local_rpath')

def build(bld):
	bld.shlib(source='a.c', target='foo')
	bld.program(source='main.c', target='bar', use='foo')

